/**
 * Fonction primaire Ajax
 *  
 */ 

function ajax_rubrique_exemple(var1,var2,var3,var4,var5){
	var phppath 	= "/ajax/module/module.ajax.php?var1="+var1+"&var2="+var2+"&var3="+var3+"&var4="+var4+"&var5="+var5;
	var targetdiv	= "lediv";
	
	try{
		req=new ActiveXObject("Msxml2.XMLHTTP");
	} catch(e){
		try{
			req=new ActiveXObject("Microsoft.XMLHTTP");
	     }
	     catch(oc){
	         req=null;
	     }
	}
	if(!req&&typeof XMLHttpRequest!="undefined"){
	   req= new XMLHttpRequest();
	}
	  
	if (req!=null){			
		req.onreadystatechange = function() {				
			if (req.readyState==4){			
					if (req.status == 200){					
				         document.getElementById(targetdiv).innerHTML =req.responseText;				           
				       } else{
				           alert("Erreur de connexion Ajax / ".req.status);
				       }
				   }				
			}				
		req.open("GET",phppath);
		req.send(null);
	}
}